package router

import (
	"go-web-scaffold/api"
	"go-web-scaffold/controller/ping"
	"go-web-scaffold/controller/upload"
	"go-web-scaffold/controller/user"
	"go-web-scaffold/tws"

	"github.com/gin-gonic/gin"
)

func BindRouters(engine *gin.Engine, routerManager *tws.RouterManager, instance *api.SqliteDB) {
	user.RegisterController(engine, routerManager, instance)
	ping.PingController(engine, routerManager, instance)
	upload.FileUploadController(engine, routerManager, instance)
}
